home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3212 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  817 b 

  1. Path: gateway.wiltel.com!PC01483
  2. From: evan linden@wcom.com
  3. Newsgroups: comp.lang.c++
  4. Subject: How Do I WNetGetUser()
  5. Date: 22 Jan 1996 21:50:22 GMT
  6. Organization: WilTel
  7. Message-ID: <4e10qu$6d5@gateway.wiltel.com>
  8. NNTP-Posting-Host: pc07101.wiltel.com
  9. X-Newsreader: News Xpress Version 1.0 Beta #4
  10.  
  11. I am attempting to call the function WNetGetUser() for visual c I have no 
  12. trouble calling this function in Visual Basic 3.0 by declaring Declare 
  13. Function WNetGetUser Lib "user" (ByVal user As String, bufsize As Integer) As 
  14. Integer. I cannot get this function in Visual C. Why? Can anyone help? It is 
  15. not documented in the SDK help file for either VB or VC. There is however a KB 
  16. article in the Visual c section of Microsoft but it only addresses Windows NT 
  17. & WFWG not 3.11 or 3.1. Any help would be appreciated.
  18.